package com.mk;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class AccountApplication {




    public static void main(String[] args) {

        /**
         * jasypt加密字符串
         */
//        StandardPBEStringEncryptor s = new StandardPBEStringEncryptor();
//        s.setPassword("oidd");
//        String name1 = s.encrypt("root");
//        String passwprd = s.encrypt("oidd");
//        System.out.println(name1);
//        System.out.println(passwprd);


        /**  配置加解密跟秘钥，与配置文件的密文分开放  */
        System.setProperty("jasypt.encryptor.password", "oidd");

        SpringApplication.run(AccountApplication.class, args);
    }

}
